<script>
export default {
  name: 'HmSeach',
  data() {
    return {
      list: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
    }
  }
}
</script>

<template>
  <div class="hmseach">
    <ul>
      <li v-for="item in list" :key="item">
        <router-link :to="{ name: 'detail', params: { id: item } }">
          我的列表： {{ item }}
        </router-link>
      </li>
    </ul>
  </div>
</template>

<style lang="less">
.hmseach {
  height: 100vh;
  overflow: scroll;

  ul {
    height: 1000px;
  }

  li {
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #000000;
    border-bottom: 1px solid #000;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
  }

}
</style>
